package com.zxkj.ssm.weixin.shop.controller;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/weixin")
public class WeixinController {

    @RequestMapping("/signature")
    public String weixinSignatureConfig(HttpServletRequest request,HttpServletResponse response,
		Model model,ModelAndView view,Map<String,Object>map,Integer configId){
		return "index";
}

	@RequestMapping("/paramt")
	public void paramt(HttpServletRequest request,HttpServletResponse response,
	Model model,ModelAndView view,Map<String,Object>map,@RequestParam(value = "ids[]",required = false) Integer ids[]){
				for (Integer id: ids){
			System.out.println("-----------接收的参数{}-------->"+id);
		}
}



}
